/*
 * Copyright 2011-2011 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 *
 */
package org.fobject.core;

import java.util.List;

/**
 * 
 * 
 * @author Wu Zhen
 */
public interface ObjectI {

	public <T extends ObjectI> void  mount(T po);

	public void unmount();

	public <T extends ObjectI> T getParent();

	public <T extends ObjectI> List<T> getChildList(Norm<T> cls);

	public <T extends ObjectI> List<T> findChildList(Norm<T> nm);

	public <T extends ObjectI> List<T> findParentList(Norm<T> nm);

}
